import { Link } from 'react-router-dom'
import { Result, Button } from 'antd'

const PageNotFound = () => {
  return <div>
    <Result
      status="404"
      title="404"
      subTitle="对不起，页面不存在"
      extra={
        <Link to="/">
          <Button type="primary">返回首页</Button>
        </Link>
      }
    />
  </div>
}

export default PageNotFound